package com.hades.xq.prototype.shallow;

import java.util.ArrayList;
import java.util.List;

public class Person2 implements Cloneable {

    private List<String> valueList = new ArrayList<>();

    public void setValue() {
        valueList.add("1");
    }

    public List<String> getValue() {
        return valueList;
    }

    @Override
    public Person2 clone() throws CloneNotSupportedException {
        return (Person2) super.clone();
    }
}
